package com.example.yunJie.digitalSentry.service;


import com.example.yunJie.digitalSentry.entity.PersonalEntity;

import java.io.Serializable;
import java.util.List;

public interface PersonalService {
    int insert(PersonalEntity personalEntity);


    int update(PersonalEntity personalEntity);


    int deleteById(Serializable id);


    int deleteIdList(List<Integer> idList);


    PersonalEntity findId(String id);


    List<PersonalEntity> findAll(PersonalEntity personalEntity);

    PersonalEntity findByPersonalName(String s);

    //根据市场查找该市场下所有人员
    List<PersonalEntity> findByMarketName(String marketName);

    List<PersonalEntity> findByName(PersonalEntity personalEntity);
}
